cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
project(cvModelingHumanPoses)
find_package(OpenCV REQUIRED)

# collect source files
file( GLOB src *.cpp )
file( GLOB hdr *.h )
file( GLOB img *.jpg )
file( GLOB dll *.dll)

file(COPY ${img} DESTINATION ${CMAKE_BINARY_DIR})

add_executable(cvModelingHumanPoses ${src} ${hdr} ${img})
target_link_libraries(cvModelingHumanPoses ${OpenCV_LIBS})

